<div class="panel panel-inverse" data-sortable-id="table-basic-4">
    <div class="panel-heading">
        <@shiro.hasPermission name="/platform/add">
        <div class="panel-heading-btn btn-group m-r-20 m-b-5">
            <a href="javascript:;" data-toggle="dropdown" class="btn btn-warning btn-sm dropdown-toggle"><i
                    class="fa fa-cogs"></i></a>
            <ul class="dropdown-menu">
                <li>
                    <a href="javascript:getData('${rc.contextPath}/platform/add','${shiroUserHelper.getCurrentShiroUser().parentMenuSource.name}')"><i
                            class="fa fa-plus m-r-5"></i>新增</a></li>
            </ul>
        </div>
    </@shiro.hasPermission>
    <h4 class="panel-title">平台列表</h4>
</div>
<div class="panel-body">
    <div class="table-responsive">
        <table class="table table-striped table-bordered">
            <thead>
            <tr>
                <th>平台编号</th>
                <th>平台名称</th>
                <th>平台描述</th>
                <th>操作</th>
            </tr>
            </tbody>
            <#if paginationResponse?has_content && paginationResponse.content?exists>
            <#list paginationResponse.content as ct>
            <tr>
                <td>${ct.id}</td>
                <td>${ct.name}</td>
                <td>${ct.describe}</td>
                <td>
                    <div class="btn-group m-r-5 m-b-5">
                        <a href="javascript:;" data-toggle="dropdown" class="btn btn-default btn-sm dropdown-toggle"><i
                                class="fa fa-bars"></i></a>
                        <ul class="dropdown-menu">
                            <@shiro.hasPermission name="/platform/delete">
                            <li>
                                <a href="javascript:getConfirmData('确定删除该平台吗?','${rc.contextPath}/platform/delete/${ct.id}','${shiroUserHelper.getCurrentShiroUser().parentMenuSource.name}')"><i
                                        class="fa fa-minus m-r-5"></i>删除</a></li>
                        </@shiro.hasPermission>
                        </ul>
                    </div>
                </td>
            </tr>
        </#list>
    </#if>
    </table>
</div>
</div>
</div>
<!-- 分页组件 -->
<!-- recordBean 分页查询结果Bean
     action 分页请求URL
     formName 分页需要的查询参数的表单名称 -->
<@sp.pagination recordBean=paginationResponse action="${rc.contextPath}/platform/list" formName="" area="platformList"/>